home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / usr / lib / mozilla-firefox / include / appshell / nsIXULBrowserWindow.h < prev    next >
C/C++ Source or Header  |  2006-05-08  |  3KB  |  116 lines

  1. /*
  2.  * DO NOT EDIT.  THIS FILE IS GENERATED FROM nsIXULBrowserWindow.idl
  3.  */
  4.  
  5. #ifndef __gen_nsIXULBrowserWindow_h__
  6. #define __gen_nsIXULBrowserWindow_h__
  7.  
  8.  
  9. #ifndef __gen_nsISupports_h__
  10. #include "nsISupports.h"
  11. #endif
  12.  
  13. /* For IDL files that don't want to include root IDL files. */
  14. #ifndef NS_NO_VTABLE
  15. #define NS_NO_VTABLE
  16. #endif
  17. class nsIRequest; /* forward declaration */
  18.  
  19.  
  20. /* starting interface:    nsIXULBrowserWindow */
  21. #define NS_IXULBROWSERWINDOW_IID_STR "46b4015c-0121-11d4-9877-00c04fa0d27a"
  22.  
  23. #define NS_IXULBROWSERWINDOW_IID \
  24.   {0x46b4015c, 0x0121, 0x11d4, \
  25.     { 0x98, 0x77, 0x00, 0xc0, 0x4f, 0xa0, 0xd2, 0x7a }}
  26.  
  27. class NS_NO_VTABLE nsIXULBrowserWindow : public nsISupports {
  28.  public: 
  29.  
  30.   NS_DEFINE_STATIC_IID_ACCESSOR(NS_IXULBROWSERWINDOW_IID)
  31.  
  32.   /* void setJSStatus (in wstring status); */
  33.   NS_IMETHOD SetJSStatus(const PRUnichar *status) = 0;
  34.  
  35.   /* void setJSDefaultStatus (in wstring status); */
  36.   NS_IMETHOD SetJSDefaultStatus(const PRUnichar *status) = 0;
  37.  
  38.   /* void setOverLink (in wstring link); */
  39.   NS_IMETHOD SetOverLink(const PRUnichar *link) = 0;
  40.  
  41. };
  42.  
  43. /* Use this macro when declaring classes that implement this interface. */
  44. #define NS_DECL_NSIXULBROWSERWINDOW \
  45.   NS_IMETHOD SetJSStatus(const PRUnichar *status); \
  46.   NS_IMETHOD SetJSDefaultStatus(const PRUnichar *status); \
  47.   NS_IMETHOD SetOverLink(const PRUnichar *link); 
  48.  
  49. /* Use this macro to declare functions that forward the behavior of this interface to another object. */
  50. #define NS_FORWARD_NSIXULBROWSERWINDOW(_to) \
  51.   NS_IMETHOD SetJSStatus(const PRUnichar *status) { return _to SetJSStatus(status); } \
  52.   NS_IMETHOD SetJSDefaultStatus(const PRUnichar *status) { return _to SetJSDefaultStatus(status); } \
  53.   NS_IMETHOD SetOverLink(const PRUnichar *link) { return _to SetOverLink(link); } 
  54.  
  55. /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
  56. #define NS_FORWARD_SAFE_NSIXULBROWSERWINDOW(_to) \
  57.   NS_IMETHOD SetJSStatus(const PRUnichar *status) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetJSStatus(status); } \
  58.   NS_IMETHOD SetJSDefaultStatus(const PRUnichar *status) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetJSDefaultStatus(status); } \
  59.   NS_IMETHOD SetOverLink(const PRUnichar *link) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetOverLink(link); } 
  60.  
  61. #if 0
  62. /* Use the code below as a template for the implementation class for this interface. */
  63.  
  64. /* Header file */
  65. class nsXULBrowserWindow : public nsIXULBrowserWindow
  66. {
  67. public:
  68.   NS_DECL_ISUPPORTS
  69.   NS_DECL_NSIXULBROWSERWINDOW
  70.  
  71.   nsXULBrowserWindow();
  72.  
  73. private:
  74.   ~nsXULBrowserWindow();
  75.  
  76. protected:
  77.   /* additional members */
  78. };
  79.  
  80. /* Implementation file */
  81. NS_IMPL_ISUPPORTS1(nsXULBrowserWindow, nsIXULBrowserWindow)
  82.  
  83. nsXULBrowserWindow::nsXULBrowserWindow()
  84. {
  85.   /* member initializers and constructor code */
  86. }
  87.  
  88. nsXULBrowserWindow::~nsXULBrowserWindow()
  89. {
  90.   /* destructor code */
  91. }
  92.  
  93. /* void setJSStatus (in wstring status); */
  94. NS_IMETHODIMP nsXULBrowserWindow::SetJSStatus(const PRUnichar *status)
  95. {
  96.     return NS_ERROR_NOT_IMPLEMENTED;
  97. }
  98.  
  99. /* void setJSDefaultStatus (in wstring status); */
  100. NS_IMETHODIMP nsXULBrowserWindow::SetJSDefaultStatus(const PRUnichar *status)
  101. {
  102.     return NS_ERROR_NOT_IMPLEMENTED;
  103. }
  104.  
  105. /* void setOverLink (in wstring link); */
  106. NS_IMETHODIMP nsXULBrowserWindow::SetOverLink(const PRUnichar *link)
  107. {
  108.     return NS_ERROR_NOT_IMPLEMENTED;
  109. }
  110.  
  111. /* End of implementation class template. */
  112. #endif
  113.  
  114.  
  115. #endif /* __gen_nsIXULBrowserWindow_h__ */
  116.